package com.china.juju.entity;


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="juju_organ"
    ,catalog="zutuan_prot"
)
public class JujuOrgan  implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    public static final String ENTITY_NAME = "com.china.juju.entity.JujuOrgan";
	public static final String TABLE_NAME="juju_organ";

    public static final String PK_Field = "id"; 
    public static final String PK_Method = "getId";  
	
	public static final String P_id = "id"; 
	public static final String P_organname = "organname"; 
	public static final String P_organcreater = "organcreater"; 
	public static final String P_organcollege = "organcollege"; 
	public static final String P_organlogo = "organlogo"; 
	public static final String P_organleader = "organleader"; 
	public static final String P_organtel = "organtel"; 
	public static final String P_organdesc = "organdesc"; 
	public static final String P_organaddress = "organaddress"; 
	public static final String P_organdepts = "organdepts"; 
	public static final String P_organstatus = "organstatus"; 
	public static final String P_organdeleflag = "organdeleflag"; 
	public static final String P_boost = "boost"; 
	public static final String P_checkstatus = "checkstatus"; 
	public static final String P_checkuser = "checkuser"; 
	public static final String P_checkdate = "checkdate"; 
	public static final String P_checkdesc = "checkdesc"; 
	public static final String P_organlevel = "organlevel"; 
	public static final String P_createtime = "createtime"; 
	public static final String P_updatetime = "updatetime"; 
	public static final String P_type = "type"; 
	public static final String P_organnametime = "organnametime"; 
	public static final String P_schooltime = "schooltime"; 
	public static final String P_tagtime = "tagtime"; 
	public static final String P_organdesctime = "organdesctime"; 
	public static final String P_organleadertime = "organleadertime"; 
	public static final String P_organteltime = "organteltime"; 
	public static final String P_organaddresstime = "organaddresstime"; 
	public static final String P_cityid = "cityid"; 
	public static final String P_joinnum = "joinnum"; 
	public static final String P_attentionnum = "attentionnum"; 
	public static final String P_actnum = "actnum"; 
	public static final String P_points = "points"; 
	public static final String P_priority = "priority"; 

     private String id;
     private String organname;
     private String organcreater;
     private String organcollege;
     private String organlogo;
     private String organleader;
     private String organtel;
     private String organdesc;
     private String organaddress;
     private String organdepts;
     private Integer organstatus;
     private Integer organdeleflag;
     private Integer boost;
     private Integer checkstatus;
     private String checkuser;
     private Long checkdate;
     private String checkdesc;
     private Integer organlevel;
     private Long createtime;
     private Long updatetime;
     private Integer type;
     private Date organnametime;
     private Date schooltime;
     private Date tagtime;
     private Date organdesctime;
     private Date organleadertime;
     private Date organteltime;
     private Date organaddresstime;
     private String cityid;
     private Integer joinnum;
     private Integer attentionnum;
     private Integer actnum;
     private Integer points;
     private Integer priority;

    public JujuOrgan() {
    }
	
    public JujuOrgan(String id, String organname) {
        this.id = id;
        this.organname = organname;
    }
    public JujuOrgan(String id, String organname, String organcreater, String organcollege, String organlogo, String organleader, String organtel, String organdesc, String organaddress, String organdepts, Integer organstatus, Integer organdeleflag, Integer boost, Integer checkstatus, String checkuser, Long checkdate, String checkdesc, Integer organlevel, Long createtime, Long updatetime, Integer type, Date organnametime, Date schooltime, Date tagtime, Date organdesctime, Date organleadertime, Date organteltime, Date organaddresstime, String cityid, Integer joinnum, Integer attentionnum, Integer actnum, Integer points, Integer priority) {
        this.id = id;
        this.organname = organname;
        this.organcreater = organcreater;
        this.organcollege = organcollege;
        this.organlogo = organlogo;
        this.organleader = organleader;
        this.organtel = organtel;
        this.organdesc = organdesc;
        this.organaddress = organaddress;
        this.organdepts = organdepts;
        this.organstatus = organstatus;
        this.organdeleflag = organdeleflag;
        this.boost = boost;
        this.checkstatus = checkstatus;
        this.checkuser = checkuser;
        this.checkdate = checkdate;
        this.checkdesc = checkdesc;
        this.organlevel = organlevel;
        this.createtime = createtime;
        this.updatetime = updatetime;
        this.type = type;
        this.organnametime = organnametime;
        this.schooltime = schooltime;
        this.tagtime = tagtime;
        this.organdesctime = organdesctime;
        this.organleadertime = organleadertime;
        this.organteltime = organteltime;
        this.organaddresstime = organaddresstime;
        this.cityid = cityid;
        this.joinnum = joinnum;
        this.attentionnum = attentionnum;
        this.actnum = actnum;
        this.points = points;
        this.priority = priority;
    }
   
    @Id 
    @GeneratedValue( generator="paymentableGenerator")  
    @GenericGenerator(name="paymentableGenerator", strategy="uuid")  
    
    @Column(name="ID", unique=true, nullable=false, length=36)
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="ORGANNAME", nullable=false, length=20)
    public String getOrganname() {
        return this.organname;
    }
    
    public void setOrganname(String organname) {
        this.organname = organname;
    }
    
    @Column(name="ORGANCREATER", length=36)
    public String getOrgancreater() {
        return this.organcreater;
    }
    
    public void setOrgancreater(String organcreater) {
        this.organcreater = organcreater;
    }
    
    @Column(name="ORGANCOLLEGE", length=36)
    public String getOrgancollege() {
        return this.organcollege;
    }
    
    public void setOrgancollege(String organcollege) {
        this.organcollege = organcollege;
    }
    
    @Column(name="ORGANLOGO", length=500)
    public String getOrganlogo() {
        return this.organlogo;
    }
    
    public void setOrganlogo(String organlogo) {
        this.organlogo = organlogo;
    }
    
    @Column(name="ORGANLEADER", length=36)
    public String getOrganleader() {
        return this.organleader;
    }
    
    public void setOrganleader(String organleader) {
        this.organleader = organleader;
    }
    
    @Column(name="ORGANTEL", length=20)
    public String getOrgantel() {
        return this.organtel;
    }
    
    public void setOrgantel(String organtel) {
        this.organtel = organtel;
    }
    
    @Column(name="ORGANDESC", length=65535)
    public String getOrgandesc() {
        return this.organdesc;
    }
    
    public void setOrgandesc(String organdesc) {
        this.organdesc = organdesc;
    }
    
    @Column(name="ORGANADDRESS", length=200)
    public String getOrganaddress() {
        return this.organaddress;
    }
    
    public void setOrganaddress(String organaddress) {
        this.organaddress = organaddress;
    }
    
    @Column(name="ORGANDEPTS", length=300)
    public String getOrgandepts() {
        return this.organdepts;
    }
    
    public void setOrgandepts(String organdepts) {
        this.organdepts = organdepts;
    }
    
    @Column(name="ORGANSTATUS")
    public Integer getOrganstatus() {
        return this.organstatus;
    }
    
    public void setOrganstatus(Integer organstatus) {
        this.organstatus = organstatus;
    }
    
    @Column(name="ORGANDELEFLAG")
    public Integer getOrgandeleflag() {
        return this.organdeleflag;
    }
    
    public void setOrgandeleflag(Integer organdeleflag) {
        this.organdeleflag = organdeleflag;
    }
    
    @Column(name="BOOST")
    public Integer getBoost() {
        return this.boost;
    }
    
    public void setBoost(Integer boost) {
        this.boost = boost;
    }
    
    @Column(name="CHECKSTATUS")
    public Integer getCheckstatus() {
        return this.checkstatus;
    }
    
    public void setCheckstatus(Integer checkstatus) {
        this.checkstatus = checkstatus;
    }
    
    @Column(name="CHECKUSER", length=36)
    public String getCheckuser() {
        return this.checkuser;
    }
    
    public void setCheckuser(String checkuser) {
        this.checkuser = checkuser;
    }
    
    @Column(name="CHECKDATE")
    public Long getCheckdate() {
        return this.checkdate;
    }
    
    public void setCheckdate(Long checkdate) {
        this.checkdate = checkdate;
    }
    
    @Column(name="CHECKDESC", length=200)
    public String getCheckdesc() {
        return this.checkdesc;
    }
    
    public void setCheckdesc(String checkdesc) {
        this.checkdesc = checkdesc;
    }
    
    @Column(name="ORGANLEVEL")
    public Integer getOrganlevel() {
        return this.organlevel;
    }
    
    public void setOrganlevel(Integer organlevel) {
        this.organlevel = organlevel;
    }
    
    @Column(name="CREATETIME")
    public Long getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    
    @Column(name="UPDATETIME")
    public Long getUpdatetime() {
        return this.updatetime;
    }
    
    public void setUpdatetime(Long updatetime) {
        this.updatetime = updatetime;
    }
    
    @Column(name="type")
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="organnametime", length=10)
    public Date getOrgannametime() {
        return this.organnametime;
    }
    
    public void setOrgannametime(Date organnametime) {
        this.organnametime = organnametime;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="schooltime", length=10)
    public Date getSchooltime() {
        return this.schooltime;
    }
    
    public void setSchooltime(Date schooltime) {
        this.schooltime = schooltime;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="tagtime", length=10)
    public Date getTagtime() {
        return this.tagtime;
    }
    
    public void setTagtime(Date tagtime) {
        this.tagtime = tagtime;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="organdesctime", length=10)
    public Date getOrgandesctime() {
        return this.organdesctime;
    }
    
    public void setOrgandesctime(Date organdesctime) {
        this.organdesctime = organdesctime;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="organleadertime", length=10)
    public Date getOrganleadertime() {
        return this.organleadertime;
    }
    
    public void setOrganleadertime(Date organleadertime) {
        this.organleadertime = organleadertime;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="organteltime", length=10)
    public Date getOrganteltime() {
        return this.organteltime;
    }
    
    public void setOrganteltime(Date organteltime) {
        this.organteltime = organteltime;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="organaddresstime", length=10)
    public Date getOrganaddresstime() {
        return this.organaddresstime;
    }
    
    public void setOrganaddresstime(Date organaddresstime) {
        this.organaddresstime = organaddresstime;
    }
    
    @Column(name="cityid", length=36)
    public String getCityid() {
        return this.cityid;
    }
    
    public void setCityid(String cityid) {
        this.cityid = cityid;
    }
    
    @Column(name="JOINNUM")
    public Integer getJoinnum() {
        return this.joinnum;
    }
    
    public void setJoinnum(Integer joinnum) {
        this.joinnum = joinnum;
    }
    
    @Column(name="ATTENTIONNUM")
    public Integer getAttentionnum() {
        return this.attentionnum;
    }
    
    public void setAttentionnum(Integer attentionnum) {
        this.attentionnum = attentionnum;
    }
    
    @Column(name="ACTNUM")
    public Integer getActnum() {
        return this.actnum;
    }
    
    public void setActnum(Integer actnum) {
        this.actnum = actnum;
    }
    
    @Column(name="points")
    public Integer getPoints() {
        return this.points;
    }
    
    public void setPoints(Integer points) {
        this.points = points;
    }
    
    @Column(name="priority")
    public Integer getPriority() {
        return this.priority;
    }
    
    public void setPriority(Integer priority) {
        this.priority = priority;
    }



    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}


